package com.xzh.wms.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.xzh.wms.entity.*;
import com.xzh.wms.dao.ShelfDao;
import java.util.List;
 /**
 * 货架;(206_shelf)表服务实现类
 * @author : heimi
 * @date : 2024-11-22
 */
@Service
public class ShelfService {
     
    @Autowired
    private ShelfDao shelfDao;
    
    public List<Shelf> select(ShelfQuery query) {
        return shelfDao.select(query);
    }
    
    public Integer insert(Shelf shelf) {
        return shelfDao.insert(shelf);
    }
    
    public Integer update(Shelf shelf) {
        return shelfDao.update(shelf);
    }
    
    public Integer delete(Integer id) {
        return shelfDao.delete(id);
    }

}